package com.qdlc.p2p.biz.service.lottery;

import com.qdlc.p2p.biz.zdata.LotteryResult;
import com.qdlc.p2p.dal.dto.User;

/**
 * Created by hongbl on 2016/2/14.
 */
public interface LotteryTaskService {

    /**
     * 赠送积分
     */
    void giveScore(long userId, double value);

    /**
     * 赠送现金
     */
    void giveCash(User user, double money, byte lotteryType);

    /**
     * 保存中奖日志
     */
    void saveLotteryLog(LotteryResult result, long userId);

    /**
     * 记录用户签到
     */
    void recordUserSign(User user, int signDayCount,String ip);

    /**
     * 签到活动
     */
    void signActivityPlan(long userId, String type,User user);
}
